package com.service;

import com.entity.Student;

import java.util.List;

public interface StudentService {
    List<Student> selectAllStudents();

    Student selectOneStudentById(int id);

    List<Student> selectOneStudentByName(String studentName);

    int deleteOneStudent(int id);

    int updateOneStudent(Student student);

    int insertOneStudent(Student student);
}
